import {createRouter, createWebHistory} from 'vue-router'


const routes = [
    {
        name: 'login',
        path: '/',
        component: ()=>import('@/views/login.vue')
    },
    {
        name: 'index',
        path: '/index',
        component: ()=>import('@/views/index.vue')
    },
]

const router = createRouter({
    history: createWebHistory(),
    routes,
})

export default router